//
//	  StackTester.java
//
//	  Copyright (c) 2011 <John Lawniczak>
//	  jlawniczak340license@gmail.com
//
//    This file is part of CS102_Assignment3.
//
//    CS102_Assignment3 is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, version 3 of the License.
//
//    CS102_Assignment3 is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with CS102_Assignment3.  If not, see <http://www.gnu.org/licenses/>.
//
public class StackTester {

	static Stack<String> stack = new Stack<String>();
	
	public static void main(String[] args) {
			stack.push(new String("hello 1st line\n"));
			stack.push(new String("hello 2nd line\n"));
			stack.push(new String("hello 3rd line\n"));
			stack.push(new String("hello 4th line\n"));
			System.out.println(stack);
			stack.pop();
			stack.pop();
			System.out.println(stack);
			System.out.print(stack.peek());
	}

}
